package com.beamfield.dao.lab;

import com.beamfield.model.ConcreteConsMixratio;
import com.beamfield.modelVo.ConcreteConsMixratioVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface ConcreteConsMixratioMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ConcreteConsMixratio record);

    int insertSelective(ConcreteConsMixratio record);

    ConcreteConsMixratio selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ConcreteConsMixratio record);

    int updateByPrimaryKey(ConcreteConsMixratio record);

    List<ConcreteConsMixratioVo> selectPage(@Param("offset") String offset,@Param("limit") String limit,@Param("concreteRearatioId") String concreteRearatioId);

    long countPage(@Param("concreteRearatioId") String concreteRearatioId);

    int deleteByPrimaryKeyList(@Param("beDeleted") List<Long> beDeleted);
}